package the_art_of_java_concurrency_programming.concurrent.HttpServer;

import java.io.IOException;

/**
 * @Author: 李浩然
 * @Date: 2021/5/10 10:28 上午
 */
public class main {
    public static void main(String[] args) {
        System.out.println("启动服务器");
        SimpleHttpServer simpleHttpServer = new SimpleHttpServer();
        simpleHttpServer.setBasePath("/Users/lihaoran/Desktop/project/IdeaProjects/java-blockchain/java_learn/src/main/java/the_art_of_java_concurrency_programming/concurrent/HttpServer");
        try {
            simpleHttpServer.start();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
